class RAGRepository:
    """
    知识存储库
    """

    @classmethod
    def add_document(cls, db, documents):
        """
        增加文档
        Args:
            document: 文档内容
        Returns:
        """
        pass

    @classmethod
    def update_document(cls, db, documents):
        """
        更新文档
        Args:
            document: 文档内容
        Returns:
        """
        pass

    @classmethod
    def delete_document(cls, db, document_id):
        """
        删除文档
        Args:
            document_id: 文档id
        Returns:
        """
        pass

    @classmethod
    def search_documents(cls, db, query):
        """
        搜索文档
        Args:
            query: 查询内容
        Returns:
        """
        pass
